package com.zh.common.service;


import com.zh.common.domain.UserDO;
import com.zh.common.vo.CompanyUserVO;
import com.zh.common.vo.FamilyUserVO;

import java.util.List;
import java.util.Map;

/**
 * 
 * 
 * @author lds
 * @email 1992lcg@163.com
 * @date 2019-05-23 14:28:49
 */
public interface UserService {
	
	UserDO get(String userId);

	List<UserDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(UserDO user);
	
	int update(UserDO user);

	int remove(String userId);
	
	int batchRemove(String[] userIds);

	UserDO getByUserName(String userName,int userType);

	CompanyUserVO getCompanyUser(String userName, int userType);

	FamilyUserVO getFamilyUser(String userName, int userType);

}
